Fixed array problems.