parent attachment bugfix