bug fix in showing attachment upload