fix unneeded conversion