add missing ' to error message