moving prepare and checkAccessible into renderadapter