attempt to fix errors