fix custom module submit