fixed a minor bug that prevented debug builds from compiling