set runtime error to 9999; otherwise set to correct flags
(#22)