Bad import of models from another project

I tried migrating from version 4 to 5 , it asked to create a new skeleton and after creating it, the model is still curved (