fixed main page of errors