implemented naive select , and fixed bug in SimpleJoin in restart
operation