error message added to fail