cleans up pattern show page