Clean basepage a little.