remove modules mistake java