Refactor ui

should be a lowercase p