diff --git a/exec/load/dorkit.js b/exec/load/dorkit.js
index e8ee34f551b3f1633a100d1959ef966330e93180..f348b9a674407e2f6e9da0e26f2fa94fabca2e9c 100644
--- a/exec/load/dorkit.js
+++ b/exec/load/dorkit.js
@@ -140,7 +140,7 @@ var dk = {
 			}
 		},
 		ctrla_attr:function(code, attr) {
-			switch(code) {
+			switch(code.toUpperCase()) {
 				case 'K':
 					attr.fg = Attribute.BLACK;
 					break;
@@ -305,7 +305,7 @@ var dk = {
 		 * sets the current attribute to 7
 		 */
 		clear:function() {
-			if (this.remote_screen !== undefined && this.auto_pause && (this.remote_screen.new_lines || this.remote_screen.touched)) {
+			if (this.remote_screen !== undefined && this.auto_pause && this.remote_screen.touched) {
 				this.auto_pause = false;
 				this.pause();
 				this.auto_pause = true;