when remove it refreshes the screen correctly