fixed a bug introduced in 56e382c that prevented debug builds from compiling