workaround for timing issue