Opened a DigiEL-5.7 project with DigiEL-5.2

I accidentally opened a DigiEL-5.7 project with DigiEL-5.2. Now when I open the project with DigiEL-5.7 and try to compile, there are references to 5.2 and the build fails.

I notice there are 5.2 references in .metadata/…

I can’t find any references to the old 5.2 anywhere in the Preferences.

Is there a way to get rid of these old references or do I have to delete .metadata/… and create my projects from scratch?

Much thanks!

To avoid any possible issues in future i would prefer to create a new project a copy all revelant files fo workspace in 5.7 and then will do a build.
Safe side.