cleaning up ui