corrected selectonfocus option