tried fixing error