fix to use gem