fixed BAD_FREE_OPERATOR5