fixed some minor issues with the cylinder profile generator