bug workaround