cleaning up user interface