fixing bad function call