css bug fix and started fix tests