minor changes togrid and ui