fix for array empty messag