fixes to use local gem