uri rewrite return value corrected