pop doesn't set values to null