commented out localhost hack for referer