fixed some editing bugs and working on styling table