slight perf project code improvements (no addition)