bug in loading files sometimes?