Fixed bug with checking the variable declaration into function parameter