refactor default value for target key