fixed missing id string argument bug, added the clear() method