fix a bug rest

Contact : <xav@tekio.org>