Error tweak was in wrong place. Hopefully fixed