[classic] check some null ptr, now it at least work with all skin file deleted