Fixed shared scheme bug