fix css to work in chrome
set counter in looking on Dom