add invalid section code's check