scandir some changes