attachment type fix