Remove obsolete 'end' variable