keep attachment in model