Incorrect usage of default function arguments