fixing typo #579

 Please check the Rest modification. #579