a bug fix follow up to prev commit