main bug again