fix function declaration scope