remove erroneous require from lib file