added mask to block operation while loading

Signed-off-by: Gerald <gera2ld@163.com>