moved attachment to media