fixed race condition and removed bad css link