change to static lib