update to adapter 

fine tuning.
Merge pull request #3 from BEZEI2K/master

update to adapter