fix error for single char @ in replacement