DefFunc call buggy