Remove offset from clear function