fix tells not being properly remove from the file