more error processing