fixed adapter exception