localization, last_act bugfix

#294 #311