fix grammar of attribute error message