fixing shitty gem