trying to fix errors