removing surrounding ghost values
roll back