fixed ScrollView and added error messages