fixing file refs