tail-$ processing fix