added helpers to fix time and fix url