added config check on higher function

Signed-off-by: Steven "NemesisRE" Koeberich <nemesissre@gmail.com>