change error message to info, and move before header