https://github.com/imeji-community/imeji/issues/658

the previous fix was causing an arror on the item page