changed the simplify keys order