empty array merge bugfix