workaround for a ff bug