mock bug fix & LibJnicol