moved loaded property from user code to controller class level