fixed models creation from editor