makes ledtrignetdev work on .26 and fix whitespaces