Removes not used config lines