Removed use of $post where it's not needed