add some ifdef for the case with no Microview