avoid NPE on rebind when locations have been unmanaged
code review