fix ref in error reporting
fix referencing path data from activities.