Added node exists check in classpat config