fix project bug and it can be compiled