[FIX]: small fix for embeded viewer