fix gid problem