add emptycheck on change