fix some project errors