small changes for the cont directive