Fix nullpointer with getS2K()