bug fixes - see changelog