fixed issue with models missing PHP