fix several queries
adding new modules must allow to enter their id