Fix silly function misusage