Stop error generated when passing alias to VARIABLE parameter
Fix checking error with named procedure parameters