fix bug so it will compile