small fix in demo controller