diff --git css/epsacrop.css css/epsacrop.css
index ebbf391..ff1db84 100644
--- css/epsacrop.css
+++ css/epsacrop.css
@@ -3,8 +3,8 @@
   margin-left:200px;
 }
 .epsacrop-global{
-  width:850px;
-  height:571px;
+  /* width:850px;
+  /* height:571px;
   /* border:1px solid red; */
   position:relative;
 }
diff --git epsacrop.module epsacrop.module
index 9404cec..d9ac716 100644
--- epsacrop.module
+++ epsacrop.module
@@ -55,7 +55,12 @@ function _epsacrop_include_html() {
     drupal_add_js($path_module .'/js/epsacrop.js');
     
     // We try to use the theme from jquery_ui module
-    drupal_add_css(drupal_get_path('module', 'jquery_ui') .'/jquery.ui/themes/default/ui.all.css');
+    if (function_exists('jquery_ui_get_path')) {
+      drupal_add_css(jquery_ui_get_path() .'/themes/base/ui.all.css');
+    }
+    else{
+      drupal_add_css(drupal_get_path('module', 'jquery_ui') .'/jquery.ui/themes/default/ui.all.css');
+    }
     drupal_add_css(EPSACROP_JCROP_PATH .'/css/jquery.Jcrop.css');
     drupal_add_css($path_module .'/css/epsacrop.css');
     $included = TRUE;
@@ -530,8 +535,7 @@ if (!$preset = imagecache_preset_by_name($presetname)) {
     }
     $preset['actions'] = array_merge(array($epsacrop_crop, $epsacrop_resize), $saved_actions);
   }
-  
-  
+
   // check if deriv exists... (file was created between apaches request handler and reaching this code)
   // otherwise try to create the derivative.
   if (file_exists($dst) || imagecache_build_derivative($preset['actions'], $src, $dst)) {

