move privset initialization to proper method