fix condition for wpseo datas