fix a little bug and better documentation page