fix attempt for resource line error in lint