fixed bug about showing documentation