fixed some project struct problem