cleared up some compilation errors between value comparison