moved get_location() before html output