removing unreferenced dependent variable from log comment
format and bug fixes