simplify if pop to pop