tweaks to gem