fixes error when shows array empty