better check in header