change payload from charArray to String