Fixed aliasing bug