acceptData logic fix