Fixed an error in shape server (a created shaper was not stored in a dict).