fixed arg parser for long args