fixed optional param in documentation