Bug fixes after working on pangaro

$errors is static. think this should change