Fix views references