square root fix