ifBlocks() bug fix

doesn't work globalVars