diff --git a/mobile_tools.module b/mobile_tools.module
index 4a17219..2535484 100755
--- a/mobile_tools.module
+++ b/mobile_tools.module
@@ -242,7 +242,7 @@ function mobile_tools_init(){
    */
    if(module_exists('context')){
       $plugin = context_get_plugin('condition', 'mobile');
-      if(!$plugin){
+      if (!empty($plugin)) {
         $device = mobile_tools_get_device();
         $plugin->execute($device['type']);
         $plugin->execute($device['group']);
