add workaround for some not well formatted strings