working on attachment UI, still some bugs