minor cleanup in the sample code in the pre elements