check if viewer exists before stepping