change duration field behaviour