Fix for asset flush