fix issue with instruction conversion

fixes #90