fix wal bug

api should >= 16