add public to repo and error to views