some data parsing for datamanager