fix some errors on syl creatiton.