More changes for getting the errors displayed