fixed typo in tab code