prevnet throwing errors