grc: improved tabs syntax and logic