Fixed tabs
Fixed curve drawing function, tabs