correcting for c5 building in document selector