set loading to false if not random