bug fix introduced in the prev commit