attach improvements