added more error information