handle IndexError in getpcu