+import keyconfig
+merge array function. it check whether array is null or not. and merge array.
+check whether merged array is null or not.
-clean up some garbage codes