fix for http gen cmds