removed duble '$' in variable