Fixed: less memory than needed was allocated for function name