Bug fix in error message