wrong regexp for text-type
normalize interval
assa: syntax error