added 400 code to YapHeader