fixed bug concerning autodoc and decorators