fix for multiple keys