make debug build fixed