clearing ui problems