Fixed issue with unnammed functions