add gems, fix routes