Fix for Empty Array