fixing delay