Fixed check_d()
Updated bug log