made behaviour of form control hints a bit more robust