moved column editing to a directive; prevented empty column names