bug fix for firebase bind