fixed issue: https://github.com/koreader/koreader/issues/354

see the description  in the issue link https://github.com/koreader/koreader/issues/354