array diff fix