error out and warnings