fixed video size related issues