primary key loading fixed