Correcting boundary replacement for camel/pascal conversion