ensure correct name is logged. Fixes #527