Modified some small warnning errors