adjusting for keyValues