fixed some bug after css test