reset stuff before generating new level