remove warnings for keys in array