fixed a bug: (css not defined)