CSS crash fix