Cleared all errors and warnings. sdk 17 and up

cant test