doc and bugs