handle higher-order function
enable textarea