Fixed demo app warnings