bugfixing 'if block tag'.