raise error for single quote