tried to fix views but messed up db somehow