style and set variable step fix