having mem corruption issues