fix issue in instruction parsing