fixbug: https://github.com/RuudBurger/CouchPotatoServer/issues/1274