Trying to fix errors