fixing job id generation