add delay, fix error