add errors for deadline