fixed the function to fetch new problems - was not returning name earlier