fix errors .. trying to fix line 45