some optimize: cpp/myscrnav.cpp