fix attacheds type  image