made converter more failsafe