fixed parse_instructions