Changed $1 to $action