fixed some things regarding meta, also some variable fix when building project