minor bugfixes on update.