remove white edges