Corrected sintax error in restrictedformats (close #3)