fix user lib method