handling not found records