return correct location when problem data is in list