Fixed debug and killer logic error