fixed input argument bug
fixed ampersand bug