fix fileEntry bug