fix null value skill bug