small changes to external libraries