fix attachment attr size