added a prefix validator