another multi-level bug fix