update docs and fix nomethod error