fix a bug in parsing deadline time