fixes submitting to Firebase bug