using tyler's method, added OPTIONAL workaround for Konq problem