optimization (20 times faster when removing one linegit status )