fixed subtle and nasty bug, className must be explicitly sanitised and
assigned to prevent hash mismatches later on.
bump version