correcting errors with lib paths