added more error report