fixed naming error with type of devive
Merge pull request #6 from cococoder/master

fixed the type naming conflict