limit time bug fix