fixing modles