Resolved no-compile bug - Variable not declared