LastID issue solved