>fix lifecycle issues by setting static resources to null as they get disposed