bugfix for blur event