Fix memory checker error