[PD] curve object not working right