Fix type in number of steps