Fix problems caused be remove project files.