improve support hook library