clean up dangerous accessible attribute