Light maps not baking right at all

I found the solution!!!
i needed to change this setting from 4 to something way higher:
image
this can be found in the static mesh of the object that has the bad shadow map.