fixed hook create for state variable, and added --user to both create alias and create hook