Removed warning and a typo.