simplify the error message handling; abstract the pull down tableview