fixed a couple of bugs
fixed parsing conditionals and scanning tabs