Shadow problems

i had a simmilar problem before

but now when i boost the shadow bias up the shadows start to act in strange way. i want these shadow artifacts to be resolved. But i cant boost the shadow bias to much because then the shadows starts to becomme disconected from the object