restfulbegin fix