some cleanup and meta refresh