fixed a bug with edit page and changed css a bit