custom error for each tab