bugfix: add declare function or variable