check for epmty list