Fixes to parse_sp_ins