Fx bug where complexChar was not reset when clearing code