add check for cases before save post
del post meta form single case
comment old code
add template for functions taxonomy