Bugs fixed, doc updated