fixed bug causing caption selection problems