Bugfix for pin code and remove unused luts