Fix the /record command