Fixed an error in reame