fixes for precog builder