restrict possible period param values