diff --git a/soundcloud_filter.module b/soundcloud_filter.module
index b390863..dea3992 100755
--- a/soundcloud_filter.module
+++ b/soundcloud_filter.module
@@ -147,8 +147,8 @@ function soundcloud_filter_theme() {
 */
 function theme_soundcloud_filter_embed($params, $height, $width, $host) {
   $output = '';
-  $output .= '<object height="' .$height. '" width="' .$width. '%"><param name="movie" value="http://player.' .$host. '/player.swf?' .$params.'"></param>';
-  $output .= '<param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="'.$height.'" src="http://player.'.$host.'/player.swf?'.$params.'" type="application/x-shockwave-flash" width="'.$width.'%"></embed></object>';
+  $output .= '<object height="' .$height. '" width="' .$width. '"><param name="movie" value="http://player.' .$host. '/player.swf?' .$params.'"></param>';
+  $output .= '<param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="'.$height.'" src="http://player.'.$host.'/player.swf?'.$params.'" type="application/x-shockwave-flash" width="'.$width.'"></embed></object>';
   return $output;
 }
 
@@ -159,7 +159,7 @@ function soundcloud_filter_process($text, $format = -1) {
     foreach ($matches[0] as $c => $code) {
       $sound = array(
                 'url' => $matches[2][$c],
-                'width' => variable_get('soundcloud_filter_width_'.$format, 100),
+                'width' => variable_get('soundcloud_filter_width_'.$format, 100%),
                 'height' => variable_get('soundcloud_filter_height_'.$format, 81),
                 'showcomments' => variable_get('soundcloud_filter_showcomments_'.$format, 'false'),
                 'autoplay' => variable_get('soundcloud_filter_autoplay_'.$format, 'false'),
@@ -199,15 +199,15 @@ function soundcloud_filter_settings($format) {
   $form['soundcloud_filter']['soundcloud_filter_width_'.$format] = array(
     '#type' => 'textfield',
     '#title' => t('Default width'),
-    '#default_value' => variable_get('soundcloud_filter_width_'.$format, 100),
-    '#maxlength' => 3,
+    '#default_value' => variable_get('soundcloud_filter_width_'.$format, 100%),
+    '#maxlength' => 4,
   );
 
   $form['soundcloud_filter']['soundcloud_filter_height_'.$format] = array(
     '#type' => 'textfield',
     '#title' => t('Default height'),
     '#default_value' => variable_get('soundcloud_filter_height_'.$format, 81),
-    '#maxlength' => 3,
+    '#maxlength' => 4,
   );
 
   $form['soundcloud_filter']['soundcloud_filter_showcomments_'.$format] = array(
