pedantic bug fix