fixing warning about erasure
formating