improved tabs coding, corrected video size