fix memory-module crash with dll align with 512