add fix to db and work as model