fix urls with a ')' at the end