fixing bugs with public checker