fix prefix option parsing