fixed minor UI bugs