Fixed 2 warnings