Fix error for non-node views