Fixing error path