fixed package name and cursor behavior
fixed hook-fn typo