fixing firebase exception handling