fixed problem with saving of percent sign