bug fixed: payload size