fixed crash but physic shapes are messed up