Firefighters scramble to extinguish two fires