Fixing pandigital fn