fixed retreval of open times