fix converting utility