null resource fix.