google error catch added