replace single quotes to help parsing