fixing auto-decline for deadline