added error case
fixed bug when entering a cell adjacent to a recently created cell