fixed strict-aliasing warning