fixed error library