small fix to formatting plus assert messages