Avoid resolve enum