Formatting and error notice