Fix reserve parameter, add missing lib