fix error for spirit rom