Minor fix in the fw_current_url function