fixed some ui heuristics