cleaned up 2 warnings

cleaned up 2 warnings