Minor generator changes

minor changes handling '.' in generating message