fix access_type