fixed small problem in pic adapter