own version of PepperStarter with a nullpointerexception fix