fixing cx1 compiler error