added apply string and fixed controller to jobs