minor change: fixed error msg