fix trailing newlines missing in #76