bug fixed for meta key selection