Fixed small bug in Adapter