fix plot lib