correct escape codes