Just stumble along after this error for the moment, no time to fix it properly ATM