fix has_ticker check
add number of posts constant.