[Bug] Some bug fixses

[Bug] Minepeon cannot access the api (miners)
[BUG] Not listing devices (bfgminer)