add catch for keyerror