set data to empty hash if no data received