Minor change, added missing err

added missing err