error msgs and images fix