string_functions bugfix