extended check for POST_ID and TOPIC_ID