added rehash for load library