format normalization
proper parseQuery