add check path existence feature