simplify some cases