Fixed bugs with rc.conf