hides tables when annotation method is called