fixed aliasing issue