Fixed stubmodule bug