fix extends model