fixed initial gc method issue