db: fix words ordering
db: fix getRawDataByDate using having statement
stype: dont print arguments if it is a long list