fixes reference errors; fixes repo validation; #3