fixed negative time in plans