fix strange order