fixed str issue for times