minor fix restmodule