fix category positions being ignored