fix for a client-side library loading issue