Fixed check variable

Signed-off-by: quicktime <quicktime115@hush.com>