fix to require lib