Fixed errors that occur after saving, and while logging job id registration.