trying to correct some errors