Fixed wrong partial function debug that broke compilation