Added trimming of problem names