fix to apps.buildCache algorithm which determines where to start in the log