Fix returning buffer size 0 before prepare

No match.