Fixed array declaration issue