fixed bug where aliasing wasnt working