Formatting and error.php shit