fix warnnings