Fixed default function definition