fix the bug: cannot load the pad which its history empty.

Signed-off-by: Lee <jessy1092@gmail.com>