fix for: https://github.com/imeji-community/imeji/issues/640