removed redirect to HTTP_REFERER