Fix assets bug in pending controller