Fix null exception on any tab loading

TBR: @dinhviethoa