curves and surface not working in moduleGen