Fixed log error with % character