small fix in redirect after give time