clean css and use full path of elements