add missed $ sign to argument inside function