fix missing -p command line argument