Fix NPE On setrent