Removing trace and improving text positions