slightly clearer error message for missing dashboard
fix bug in trigger