got ride of small error getting data