fixes to convert