fix fs file refference problem