auto focus and carret position when clear