fix model stage checks