fitted values fix