taskTime null error checked