part of https://github.com/imeji-community/imeji/issues/648 fixed