id=0 bug removed