fixed problems creating jobs