version protection for ycm