fixed check library