attachment link parser and back button