fix step greater than available steps