NPE bug in program
RLP edge case bug