Fix: invalid reference to entity profile