handling piece message should work