Fix typo in veriable declaration + correct fn argument (unique).