main should use lib path