Small fixes in rc.lua