fixed minor ui bugs