added more error checking in webparser class