cleans up client side UI