Fix plugin to not die
Fix RT code for the 0.3 core