A solution of the core-exciton issue for silicon and germanium