update street generator and fix some bugs regarding rendering.