Fix static if

fix wrong static if usage