just added some setTimeout magic