modifications on curves for bezier management
changes on bezier
changes on curves
arranged some errors