fixed LED routine to include last LED