prevent null pointer when nothing is in hand