make fireworks handle integer inputs