fix face location memory bug