fixing bug with add job