fixed rest doc