fixed problem when recording job steps