fix remote_event bug on CrayXC