fixed bad case insensitive array functions.