compact to keep consistency