fix a bug
Merge branch 'master' into gringo4