Fixed warning issues from coder