fix firefox issues with dynamic props