bug fixes during adding implicit cast to sqream
implicit cast of arguments of functions
Merge remote branch 'ghsqppp/master'