cleans up various pages