invalid characters fixed