fixing bugs introduced by removing configure.instance