Fixing tab errors