clean up urls a bit