bug fixing for asset cleaning