fixed bad render