fixed bug in docs