Fix db loaded views