chore: remove trailing newlines
fix: delta % double (=interval)