added support for removal of 'accessdate' param if no url