correct SymLevel variable type
add macro for checking SymLevel