add braces around $post->ID, and add comment explaining why die() is called