added more error msgs