removal of old gallery class.