Remove heap flag