differentiate between empty and set wrong