Fixed bug caused by using $10 instead of ${10}