copy models to main app + bugfix