bugfixes interment seleted and imports java