Fixing bug with commit modules