clean up exceptions thrown from profiles