fixed check html is null