array key fixing