Need help with formatting the invalid data page