remove period at end of URL