small code cleanup
small code cleanup, thanks to Rémy Léone