fixed result directory missing from command line options