Fix problem with string.trim implementation after sirmate's was removed