Fixes firebase