change null into table