replacing ids with classes, inner page