Less debug output, fixed conversion