fixed test variable
fixed panics