fix:error at empty array