automatic context at connection
fix check errors management