Bug fix: Can not use dry run mode