making get_value check against empty before using the default value