Fixed non-declaration statement outside function body