isfile fix