fixed bug in video selection