Fix erize local variables