fix endsubsection by defining a new command, same with tightemize.