fixed tab margin bug