fixing tab issues