Correct warnings

Warning alerts corrected