fixed compilation warnings3