more pull request feedback, only calculate length of string once
test project file cleanup