fixed svg dimension parsing