firebase resolution