fixed an issue where the dataView variable was being accessed but did not exist