fixed the standalone execution with -c parameter