Hartley makes apology