Fixed a bug regarding to automatic device process invocation.