fix for converting