Massive bones how to fix?

it was a fbx import, so the ends of the bones are trajected out to a random spot?