Errors rectified

made changes to remove the error.