changed error messages for atoms