fixed manage config and removed hack