changed error thrown in AkCollator#getBytes