Correcting lib calls