bugfix array merge