fix post_type_label function