property change listener was null in some cases