[PD] error: canvas: no method for 'f'