Fix adater

Fix adater
Merge pull request #1 from dmontielfdez/master

Fix adapter