added error msgs to rescue