fixing a create signal hook to check for raw