add error catch for Get method