wrong parameter order

-p needs to not interfere with -o