lvcoref.sh fix