Fixed add file to project bug.