solve delay problem