closes #125 better error stack