fixes files auth