returning proper data from proxy