rest fix