added expire_in option to recommend and fixed spec bug