workaround for the bug