fix view changes with multiple keys