fix throw requiring a pointless return