minor simplify