regression for the case without prefix

Sorry for the insufficient test. There was a regression that prevent proper running without specifying the prefix.