auto stroke when farme changed