fix a bug in liberal safety grounder