cleanup in bash.d/set_functions