add exception check of id.stat.ls