adding lib to validation tasks and fixing lint errors