get rid of erasure warnings