fixed api issues in datamanager