tidy code / display error if value is not int on dnc import