modified view_where function to return correct info in whitepaper controller