hook and plugin adjustments