solved a display error in step by step mode when precision is set to 0