giving error message if setup is not complete